[INFO] fetching crate rustc-ap-rustc_serialize 720.0.0...
[INFO] building rustc-ap-rustc_serialize-720.0.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate rustc-ap-rustc_serialize 720.0.0 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate rustc-ap-rustc_serialize 720.0.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rustc-ap-rustc_serialize 720.0.0
[INFO] finished tweaking crates.io crate rustc-ap-rustc_serialize 720.0.0
[INFO] tweaked toml for crates.io crate rustc-ap-rustc_serialize 720.0.0 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1957a343db225353bd8059d46f8508e881c320e62effdbe910e427cdde521e8b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1957a343db225353bd8059d46f8508e881c320e62effdbe910e427cdde521e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1957a343db225353bd8059d46f8508e881c320e62effdbe910e427cdde521e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1957a343db225353bd8059d46f8508e881c320e62effdbe910e427cdde521e8b", kill_on_drop: false }`
[INFO] [stdout] 1957a343db225353bd8059d46f8508e881c320e62effdbe910e427cdde521e8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9a5e8bc49343df73e3ba67d5474c22e821c60913d43d07ce5d1dfad27c5cfff
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b9a5e8bc49343df73e3ba67d5474c22e821c60913d43d07ce5d1dfad27c5cfff", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling rustc-ap-rustc_serialize v720.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.17s
[INFO] running `Command { std: "docker" "inspect" "b9a5e8bc49343df73e3ba67d5474c22e821c60913d43d07ce5d1dfad27c5cfff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9a5e8bc49343df73e3ba67d5474c22e821c60913d43d07ce5d1dfad27c5cfff", kill_on_drop: false }`
[INFO] [stdout] b9a5e8bc49343df73e3ba67d5474c22e821c60913d43d07ce5d1dfad27c5cfff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5021a918829f526d2cf47d86d6816277c6b062523a0705a64fd6150ecdaa298b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5021a918829f526d2cf47d86d6816277c6b062523a0705a64fd6150ecdaa298b", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustc-ap-rustc_serialize v720.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_serialize`
[INFO] [stdout]  --> tests/opaque.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustc_serialize::opaque::{Decoder, Encoder};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `rustc_serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rustc_macros`
[INFO] [stdout]  --> tests/opaque.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rustc_macros::{Decodable, Encodable};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `rustc_macros`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rustc_serialize`
[INFO] [stdout]  --> tests/opaque.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustc_serialize::{Decodable, Encodable};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `rustc_serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]  --> tests/opaque.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(PartialEq, Clone, Debug, Encodable, Decodable)]
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]  --> tests/opaque.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(PartialEq, Clone, Debug, Encodable, Decodable)]
[INFO] [stdout]   |                                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]    --> tests/opaque.rs:231:35
[INFO] [stdout]     |
[INFO] [stdout] 231 | #[derive(PartialEq, Clone, Debug, Encodable, Decodable)]
[INFO] [stdout]     |                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]    --> tests/opaque.rs:231:46
[INFO] [stdout]     |
[INFO] [stdout] 231 | #[derive(PartialEq, Clone, Debug, Encodable, Decodable)]
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_serialize`
[INFO] [stdout]  --> tests/leb128.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustc_serialize::leb128::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `rustc_serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:42:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 42 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl_test_unsigned_leb128!(test_u16_leb128, test_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_u16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:42:63
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 42 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, test_u16_leb128, u16);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_u16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:43:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 43 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl_test_unsigned_leb128!(test_u32_leb128, test_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_u32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:43:63
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 43 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, test_u32_leb128, u32);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_u32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:44:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 44 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl_test_unsigned_leb128!(test_u64_leb128, test_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_u64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:44:63
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 44 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, test_u64_leb128, u64);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_u64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:45:46
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 45 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl_test_unsigned_leb128!(test_u128_leb128, test_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_u128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:45:65
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 45 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, test_u128_leb128, u128);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_u128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_usize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:46:47
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_usize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 46 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl_test_unsigned_leb128!(test_usize_leb128, test_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_usize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_usize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:46:67
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_usize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 46 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, test_usize_leb128, usize);
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_usize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Encoder` in this scope
[INFO] [stdout]   --> tests/opaque.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_round_trip<T: Encodable<Encoder> + for<'a> Decodable<Decoder<'a>> + PartialEq + Debug>(
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::opaque::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decoder` in this scope
[INFO] [stdout]   --> tests/opaque.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_round_trip<T: Encodable<Encoder> + for<'a> Decodable<Decoder<'a>> + PartialEq + Debug>(
[INFO] [stdout]    |                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::opaque::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_i16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:89:43
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 | impl_test_signed_leb128!(test_i16_leb128, write_i16_leb128, read_i16_leb128, i16);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl_test_signed_leb128!(test_i16_leb128, test_i16_leb128, read_i16_leb128, i16);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_i16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoder`
[INFO] [stdout]   --> tests/opaque.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut encoder = Encoder::new(Vec::new());
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::opaque::Encoder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decoder`
[INFO] [stdout]   --> tests/opaque.rs:41:23
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut decoder = Decoder::new(&data[..], 0);
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::opaque::Decoder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_i16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:89:61
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 | impl_test_signed_leb128!(test_i16_leb128, write_i16_leb128, read_i16_leb128, i16);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl_test_signed_leb128!(test_i16_leb128, write_i16_leb128, test_i16_leb128, i16);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_i16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_i32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl_test_signed_leb128!(test_i32_leb128, write_i32_leb128, read_i32_leb128, i32);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl_test_signed_leb128!(test_i32_leb128, test_i32_leb128, read_i32_leb128, i32);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_i32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_i32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:90:61
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl_test_signed_leb128!(test_i32_leb128, write_i32_leb128, read_i32_leb128, i32);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl_test_signed_leb128!(test_i32_leb128, write_i32_leb128, test_i32_leb128, i32);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_i32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_i64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 91 | impl_test_signed_leb128!(test_i64_leb128, write_i64_leb128, read_i64_leb128, i64);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl_test_signed_leb128!(test_i64_leb128, test_i64_leb128, read_i64_leb128, i64);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_i64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_i64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:91:61
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 91 | impl_test_signed_leb128!(test_i64_leb128, write_i64_leb128, read_i64_leb128, i64);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl_test_signed_leb128!(test_i64_leb128, write_i64_leb128, test_i64_leb128, i64);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_i64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_i128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:92:44
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 92 | impl_test_signed_leb128!(test_i128_leb128, write_i128_leb128, read_i128_leb128, i128);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl_test_signed_leb128!(test_i128_leb128, test_i128_leb128, read_i128_leb128, i128);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_i128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_i128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:92:63
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_i128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 92 | impl_test_signed_leb128!(test_i128_leb128, write_i128_leb128, read_i128_leb128, i128);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl_test_signed_leb128!(test_i128_leb128, write_i128_leb128, test_i128_leb128, i128);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_i128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_isize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:93:45
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_isize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 93 | impl_test_signed_leb128!(test_isize_leb128, write_isize_leb128, read_isize_leb128, isize);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl_test_signed_leb128!(test_isize_leb128, test_isize_leb128, read_isize_leb128, isize);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::write_isize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_isize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:93:65
[INFO] [stdout]    |
[INFO] [stdout] 51 |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_isize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 93 | impl_test_signed_leb128!(test_isize_leb128, write_isize_leb128, read_isize_leb128, isize);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl_test_signed_leb128!(test_isize_leb128, write_isize_leb128, test_isize_leb128, isize);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rustc_ap_rustc_serialize::leb128::read_isize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-ap-rustc_serialize`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json`
[INFO] [stdout]  --> tests/json.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use json::DecoderError::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json`
[INFO] [stdout]  --> tests/json.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use json::ErrorCode::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json`
[INFO] [stdout]  --> tests/json.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use json::Json::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json`
[INFO] [stdout]  --> tests/json.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use json::JsonEvent::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json`
[INFO] [stdout]  --> tests/json.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use json::ParserError::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `json::DecoderError::*`, `json::ErrorCode::*`, `json::Json::*`, `json::JsonEvent::*`, `json::ParserError::*`, `json`
[INFO] [stdout]  --> tests/json.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use json::DecoderError::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | use json::ErrorCode::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 | use json::Json::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 6 | use json::JsonEvent::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 | use json::ParserError::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 | use json::{
[INFO] [stdout]   |     ^^^^ help: a similar path exists: `rustc_ap_rustc_serialize::json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rustc_macros`
[INFO] [stdout]   --> tests/json.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rustc_macros::{Decodable, Encodable};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `rustc_macros`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rustc_serialize`
[INFO] [stdout]   --> tests/json.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rustc_serialize::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `rustc_serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rustc_serialize`, `json::ToJson`
[INFO] [stdout]     --> tests/json.rs:14:5
[INFO] [stdout]      |
[INFO] [stdout] 14   | use rustc_serialize::{Decodable, Encodable};
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `rustc_serialize`
[INFO] [stdout] ...
[INFO] [stdout] 1203 |     use json::ToJson;
[INFO] [stdout]      |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]   --> tests/json.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Decodable, Eq, PartialEq, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]   --> tests/json.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]   --> tests/json.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]   --> tests/json.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]   --> tests/json.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]   --> tests/json.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]   --> tests/json.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive(PartialEq, Encodable, Decodable, Debug)]
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]    --> tests/json.rs:572:10
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[derive(Decodable)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]    --> tests/json.rs:620:10
[INFO] [stdout]     |
[INFO] [stdout] 620 | #[derive(Decodable)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]    --> tests/json.rs:628:10
[INFO] [stdout]     |
[INFO] [stdout] 628 | #[derive(Decodable)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]    --> tests/json.rs:937:14
[INFO] [stdout]     |
[INFO] [stdout] 937 |     #[derive(Encodable, Eq, Hash, PartialEq, Decodable, Debug)]
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Decodable`
[INFO] [stdout]    --> tests/json.rs:937:46
[INFO] [stdout]     |
[INFO] [stdout] 937 |     #[derive(Encodable, Eq, Hash, PartialEq, Decodable, Debug)]
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Encodable`
[INFO] [stdout]     --> tests/json.rs:1258:35
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     #[derive(PartialEq, Eq, Hash, Encodable)]
[INFO] [stdout]      |                                   ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: Neg` is not satisfied
[INFO] [stdout]   --> tests/leb128.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 (-500..500).map(|i| (i as $int_ty).wrapping_mul(0x12345789ABCDEFu64 as $int_ty)),
[INFO] [stdout]    |                  ^^^^ the trait `Neg` is not implemented for `u16`
[INFO] [stdout] ...
[INFO] [stdout] 42 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    | ------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u32: Neg` is not satisfied
[INFO] [stdout]   --> tests/leb128.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 (-500..500).map(|i| (i as $int_ty).wrapping_mul(0x12345789ABCDEFu64 as $int_ty)),
[INFO] [stdout]    |                  ^^^^ the trait `Neg` is not implemented for `u32`
[INFO] [stdout] ...
[INFO] [stdout] 43 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    | ------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u64: Neg` is not satisfied
[INFO] [stdout]   --> tests/leb128.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 (-500..500).map(|i| (i as $int_ty).wrapping_mul(0x12345789ABCDEFu64 as $int_ty)),
[INFO] [stdout]    |                  ^^^^ the trait `Neg` is not implemented for `u64`
[INFO] [stdout] ...
[INFO] [stdout] 44 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    | ------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u128: Neg` is not satisfied
[INFO] [stdout]   --> tests/leb128.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 (-500..500).map(|i| (i as $int_ty).wrapping_mul(0x12345789ABCDEFu64 as $int_ty)),
[INFO] [stdout]    |                  ^^^^ the trait `Neg` is not implemented for `u128`
[INFO] [stdout] ...
[INFO] [stdout] 45 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    | ---------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied
[INFO] [stdout]   --> tests/leb128.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 (-500..500).map(|i| (i as $int_ty).wrapping_mul(0x12345789ABCDEFu64 as $int_ty)),
[INFO] [stdout]    |                  ^^^^ the trait `Neg` is not implemented for `usize`
[INFO] [stdout] ...
[INFO] [stdout] 46 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    | -------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]   --> tests/json.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         ExpectedError("Number".to_string(), "[]".to_string()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]   --> tests/json.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         ExpectedError("Number".to_string(), "false".to_string()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]   --> tests/json.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     Object(d)
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Json::Object;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]   --> tests/json.rs:92:16
[INFO] [stdout]    |
[INFO] [stdout] 92 |     assert_eq!(Null.to_string(), "null");
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]   --> tests/json.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert_eq!(Null.pretty().to_string(), "null");
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]   --> tests/json.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |     assert_eq!(U64(0).to_string(), "0");
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]   --> tests/json.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     assert_eq!(U64(0).pretty().to_string(), "0");
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 3  | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |     assert_eq!(U64(1234).to_string(), "1234");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     assert_eq!(U64(1234).pretty().to_string(), "1234");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |     assert_eq!(I64(-5678).to_string(), "-5678");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     assert_eq!(I64(-5678).pretty().to_string(), "-5678");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |     assert_eq!(U64(7650007200025252000).to_string(), "7650007200025252000");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |     assert_eq!(U64(7650007200025252000).pretty().to_string(), "7650007200025252000");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 113 |     assert_eq!(F64(3.0).to_string(), "3.0");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |     assert_eq!(F64(3.0).pretty().to_string(), "3.0");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:116:16
[INFO] [stdout]     |
[INFO] [stdout] 116 |     assert_eq!(F64(3.1).to_string(), "3.1");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |     assert_eq!(F64(3.1).pretty().to_string(), "3.1");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:119:16
[INFO] [stdout]     |
[INFO] [stdout] 119 |     assert_eq!(F64(-1.5).to_string(), "-1.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |     assert_eq!(F64(-1.5).pretty().to_string(), "-1.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |     assert_eq!(F64(0.5).to_string(), "0.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 |     assert_eq!(F64(0.5).pretty().to_string(), "0.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |     assert_eq!(F64(f64::NAN).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:126:16
[INFO] [stdout]     |
[INFO] [stdout] 126 |     assert_eq!(F64(f64::NAN).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:128:16
[INFO] [stdout]     |
[INFO] [stdout] 128 |     assert_eq!(F64(f64::INFINITY).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 129 |     assert_eq!(F64(f64::INFINITY).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |     assert_eq!(F64(f64::NEG_INFINITY).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 |     assert_eq!(F64(f64::NEG_INFINITY).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:137:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |       assert_eq!(String("".to_string()).to_string(), "\"\"");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 137 |     assert_eq!(String { vec: val }.to_string(), "\"\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |       assert_eq!(String("".to_string()).pretty().to_string(), "\"\"");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 138 |     assert_eq!(String { vec: val }.pretty().to_string(), "\"\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:140:16
[INFO] [stdout]     |
[INFO] [stdout] 140 |       assert_eq!(String("homura".to_string()).to_string(), "\"homura\"");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 140 |     assert_eq!(String { vec: val }.to_string(), "\"homura\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:141:16
[INFO] [stdout]     |
[INFO] [stdout] 141 |       assert_eq!(String("madoka".to_string()).pretty().to_string(), "\"madoka\"");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 141 |     assert_eq!(String { vec: val }.pretty().to_string(), "\"madoka\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |     assert_eq!(Boolean(true).to_string(), "true");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     assert_eq!(Boolean(true).pretty().to_string(), "true");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |     assert_eq!(Boolean(false).to_string(), "false");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |     assert_eq!(Boolean(false).pretty().to_string(), "false");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:155:16
[INFO] [stdout]     |
[INFO] [stdout] 155 |     assert_eq!(Array(vec![]).to_string(), "[]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 |     assert_eq!(Array(vec![]).pretty().to_string(), "[]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:158:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |     assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:158:27
[INFO] [stdout]     |
[INFO] [stdout] 158 |     assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]");
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Array(vec![Boolean(true)]).pretty().to_string(),
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:160:20
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Array(vec![Boolean(true)]).pretty().to_string(),
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:168:20
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:168:36
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:168:42
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:168:53
[INFO] [stdout]     |
[INFO] [stdout] 168 |           Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String { vec: val }, F64(3.5)])]);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:168:85
[INFO] [stdout]     |
[INFO] [stdout] 168 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:190:46
[INFO] [stdout]     |
[INFO] [stdout] 190 |     assert_eq!(mk_object(&[("a".to_string(), Boolean(true))]).to_string(), "{\"a\":true}");
[INFO] [stdout]     |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:192:39
[INFO] [stdout]     |
[INFO] [stdout] 192 |         mk_object(&[("a".to_string(), Boolean(true))]).pretty().to_string(),
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         Array(vec![
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:202:43
[INFO] [stdout]     |
[INFO] [stdout] 202 |               mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 202 |             mk_object(&[("c".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:203:43
[INFO] [stdout]     |
[INFO] [stdout] 203 |               mk_object(&[("d".to_string(), String("".to_string()))]),
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 203 |             mk_object(&[("d".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:232:27
[INFO] [stdout]     |
[INFO] [stdout] 232 |         ("a".to_string(), Boolean(true)),
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 235 |             Array(vec![
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:236:47
[INFO] [stdout]     |
[INFO] [stdout] 236 |                   mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 mk_object(&[("c".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:237:47
[INFO] [stdout]     |
[INFO] [stdout] 237 |                   mk_object(&[("d".to_string(), String("".to_string()))]),
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 mk_object(&[("d".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:305:39
[INFO] [stdout]     |
[INFO] [stdout] 305 |     assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:305:51
[INFO] [stdout]     |
[INFO] [stdout] 305 |     assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:306:39
[INFO] [stdout]     |
[INFO] [stdout] 306 |     assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:306:51
[INFO] [stdout]     |
[INFO] [stdout] 306 |     assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:307:40
[INFO] [stdout]     |
[INFO] [stdout] 307 |     assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:307:52
[INFO] [stdout]     |
[INFO] [stdout] 307 |     assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:308:36
[INFO] [stdout]     |
[INFO] [stdout] 308 |     assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:308:48
[INFO] [stdout]     |
[INFO] [stdout] 308 |     assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:309:37
[INFO] [stdout]     |
[INFO] [stdout] 309 |     assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:309:49
[INFO] [stdout]     |
[INFO] [stdout] 309 |     assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:310:37
[INFO] [stdout]     |
[INFO] [stdout] 310 |     assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:310:49
[INFO] [stdout]     |
[INFO] [stdout] 310 |     assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:315:35
[INFO] [stdout]     |
[INFO] [stdout] 315 |     assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:315:47
[INFO] [stdout]     |
[INFO] [stdout] 315 |     assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:316:37
[INFO] [stdout]     |
[INFO] [stdout] 316 |     assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:316:49
[INFO] [stdout]     |
[INFO] [stdout] 316 |     assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:317:35
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:317:47
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:318:38
[INFO] [stdout]     |
[INFO] [stdout] 318 |     assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:318:50
[INFO] [stdout]     |
[INFO] [stdout] 318 |     assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |     assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:319:47
[INFO] [stdout]     |
[INFO] [stdout] 319 |     assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:320:37
[INFO] [stdout]     |
[INFO] [stdout] 320 |     assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:320:49
[INFO] [stdout]     |
[INFO] [stdout] 320 |     assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:322:37
[INFO] [stdout]     |
[INFO] [stdout] 322 |     assert_eq!(from_str("null"), Ok(Null));
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:323:37
[INFO] [stdout]     |
[INFO] [stdout] 323 |     assert_eq!(from_str("true"), Ok(Boolean(true)));
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:324:38
[INFO] [stdout]     |
[INFO] [stdout] 324 |     assert_eq!(from_str("false"), Ok(Boolean(false)));
[INFO] [stdout]     |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:325:39
[INFO] [stdout]     |
[INFO] [stdout] 325 |     assert_eq!(from_str(" null "), Ok(Null));
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:326:39
[INFO] [stdout]     |
[INFO] [stdout] 326 |     assert_eq!(from_str(" true "), Ok(Boolean(true)));
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:327:40
[INFO] [stdout]     |
[INFO] [stdout] 327 |     assert_eq!(from_str(" false "), Ok(Boolean(false)));
[INFO] [stdout]     |                                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:344:35
[INFO] [stdout]     |
[INFO] [stdout] 344 |     assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:344:47
[INFO] [stdout]     |
[INFO] [stdout] 344 |     assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |     assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:345:47
[INFO] [stdout]     |
[INFO] [stdout] 345 |     assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:346:37
[INFO] [stdout]     |
[INFO] [stdout] 346 |     assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:346:49
[INFO] [stdout]     |
[INFO] [stdout] 346 |     assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:347:35
[INFO] [stdout]     |
[INFO] [stdout] 347 |     assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:347:47
[INFO] [stdout]     |
[INFO] [stdout] 347 |     assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:348:36
[INFO] [stdout]     |
[INFO] [stdout] 348 |     assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:348:48
[INFO] [stdout]     |
[INFO] [stdout] 348 |     assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:349:36
[INFO] [stdout]     |
[INFO] [stdout] 349 |     assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:349:48
[INFO] [stdout]     |
[INFO] [stdout] 349 |     assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |     assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:350:48
[INFO] [stdout]     |
[INFO] [stdout] 350 |     assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:351:37
[INFO] [stdout]     |
[INFO] [stdout] 351 |     assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:351:49
[INFO] [stdout]     |
[INFO] [stdout] 351 |     assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:353:54
[INFO] [stdout]     |
[INFO] [stdout] 353 |     assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:353:66
[INFO] [stdout]     |
[INFO] [stdout] 353 |     assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20)));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:354:54
[INFO] [stdout]     |
[INFO] [stdout] 354 |     assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:354:66
[INFO] [stdout]     |
[INFO] [stdout] 354 |     assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21)));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:356:34
[INFO] [stdout]     |
[INFO] [stdout] 356 |     assert_eq!(from_str("3"), Ok(U64(3)));
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:357:36
[INFO] [stdout]     |
[INFO] [stdout] 357 |     assert_eq!(from_str("3.1"), Ok(F64(3.1)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:358:37
[INFO] [stdout]     |
[INFO] [stdout] 358 |     assert_eq!(from_str("-1.2"), Ok(F64(-1.2)));
[INFO] [stdout]     |                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:359:36
[INFO] [stdout]     |
[INFO] [stdout] 359 |     assert_eq!(from_str("0.4"), Ok(F64(0.4)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:360:38
[INFO] [stdout]     |
[INFO] [stdout] 360 |     assert_eq!(from_str("0.4e5"), Ok(F64(0.4e5)));
[INFO] [stdout]     |                                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:361:40
[INFO] [stdout]     |
[INFO] [stdout] 361 |     assert_eq!(from_str("0.4e+15"), Ok(F64(0.4e15)));
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:362:40
[INFO] [stdout]     |
[INFO] [stdout] 362 |     assert_eq!(from_str("0.4e-01"), Ok(F64(0.4e-01)));
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:363:36
[INFO] [stdout]     |
[INFO] [stdout] 363 |     assert_eq!(from_str(" 3 "), Ok(U64(3)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:365:53
[INFO] [stdout]     |
[INFO] [stdout] 365 |     assert_eq!(from_str("-9223372036854775808"), Ok(I64(i64::MIN)));
[INFO] [stdout]     |                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:366:52
[INFO] [stdout]     |
[INFO] [stdout] 366 |     assert_eq!(from_str("9223372036854775807"), Ok(U64(i64::MAX as u64)));
[INFO] [stdout]     |                                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:367:53
[INFO] [stdout]     |
[INFO] [stdout] 367 |     assert_eq!(from_str("18446744073709551615"), Ok(U64(u64::MAX)));
[INFO] [stdout]     |                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:406:25
[INFO] [stdout]     |
[INFO] [stdout] 406 |     assert_eq!(res, Err(ExpectedError("Integer".to_string(), "765.25".to_string())));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:411:36
[INFO] [stdout]     |
[INFO] [stdout] 411 |     assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope
[INFO] [stdout]    --> tests/json.rs:411:48
[INFO] [stdout]     |
[INFO] [stdout] 411 |     assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:412:39
[INFO] [stdout]     |
[INFO] [stdout] 412 |     assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope
[INFO] [stdout]    --> tests/json.rs:412:51
[INFO] [stdout]     |
[INFO] [stdout] 412 |     assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:414:37
[INFO] [stdout]     |
[INFO] [stdout] 414 |       assert_eq!(from_str("\"\""), Ok(String("".to_string())));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 414 |     assert_eq!(from_str("\"\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:415:40
[INFO] [stdout]     |
[INFO] [stdout] 415 |       assert_eq!(from_str("\"foo\""), Ok(String("foo".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 415 |     assert_eq!(from_str("\"foo\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:416:41
[INFO] [stdout]     |
[INFO] [stdout] 416 |       assert_eq!(from_str("\"\\\"\""), Ok(String("\"".to_string())));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 416 |     assert_eq!(from_str("\"\\\"\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:417:40
[INFO] [stdout]     |
[INFO] [stdout] 417 |       assert_eq!(from_str("\"\\b\""), Ok(String("\x08".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 417 |     assert_eq!(from_str("\"\\b\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:418:40
[INFO] [stdout]     |
[INFO] [stdout] 418 |       assert_eq!(from_str("\"\\n\""), Ok(String("\n".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 418 |     assert_eq!(from_str("\"\\n\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:419:40
[INFO] [stdout]     |
[INFO] [stdout] 419 |       assert_eq!(from_str("\"\\r\""), Ok(String("\r".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 419 |     assert_eq!(from_str("\"\\r\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:420:40
[INFO] [stdout]     |
[INFO] [stdout] 420 |       assert_eq!(from_str("\"\\t\""), Ok(String("\t".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 420 |     assert_eq!(from_str("\"\\t\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:421:42
[INFO] [stdout]     |
[INFO] [stdout] 421 |       assert_eq!(from_str(" \"foo\" "), Ok(String("foo".to_string())));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 421 |     assert_eq!(from_str(" \"foo\" "), Ok(String { vec: val }));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:422:44
[INFO] [stdout]     |
[INFO] [stdout] 422 |       assert_eq!(from_str("\"\\u12ab\""), Ok(String("\u{12ab}".to_string())));
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 422 |     assert_eq!(from_str("\"\\u12ab\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:423:44
[INFO] [stdout]     |
[INFO] [stdout] 423 |       assert_eq!(from_str("\"\\uAB12\""), Ok(String("\u{AB12}".to_string())));
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 423 |     assert_eq!(from_str("\"\\uAB12\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:448:35
[INFO] [stdout]     |
[INFO] [stdout] 448 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:448:47
[INFO] [stdout]     |
[INFO] [stdout] 448 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:449:36
[INFO] [stdout]     |
[INFO] [stdout] 449 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope
[INFO] [stdout]    --> tests/json.rs:449:48
[INFO] [stdout]     |
[INFO] [stdout] 449 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingArray;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:450:37
[INFO] [stdout]     |
[INFO] [stdout] 450 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:450:49
[INFO] [stdout]     |
[INFO] [stdout] 450 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:451:38
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:451:50
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:452:39
[INFO] [stdout]     |
[INFO] [stdout] 452 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:452:51
[INFO] [stdout]     |
[INFO] [stdout] 452 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:454:35
[INFO] [stdout]     |
[INFO] [stdout] 454 |     assert_eq!(from_str("[]"), Ok(Array(vec![])));
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:455:36
[INFO] [stdout]     |
[INFO] [stdout] 455 |     assert_eq!(from_str("[ ]"), Ok(Array(vec![])));
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:456:39
[INFO] [stdout]     |
[INFO] [stdout] 456 |     assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:456:50
[INFO] [stdout]     |
[INFO] [stdout] 456 |     assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)])));
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:457:42
[INFO] [stdout]     |
[INFO] [stdout] 457 |     assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)])));
[INFO] [stdout]     |                                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:457:53
[INFO] [stdout]     |
[INFO] [stdout] 457 |     assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)])));
[INFO] [stdout]     |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:458:39
[INFO] [stdout]     |
[INFO] [stdout] 458 |     assert_eq!(from_str("[null]"), Ok(Array(vec![Null])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:458:50
[INFO] [stdout]     |
[INFO] [stdout] 458 |     assert_eq!(from_str("[null]"), Ok(Array(vec![Null])));
[INFO] [stdout]     |                                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:459:39
[INFO] [stdout]     |
[INFO] [stdout] 459 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:459:50
[INFO] [stdout]     |
[INFO] [stdout] 459 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:459:58
[INFO] [stdout]     |
[INFO] [stdout] 459 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                                          ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:460:43
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:460:54
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:460:62
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                                              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:461:44
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:461:55
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:461:63
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:461:74
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                                          ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:461:82
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:503:35
[INFO] [stdout]     |
[INFO] [stdout] 503 |     assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:503:47
[INFO] [stdout]     |
[INFO] [stdout] 503 |     assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:504:36
[INFO] [stdout]     |
[INFO] [stdout] 504 |     assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:504:48
[INFO] [stdout]     |
[INFO] [stdout] 504 |     assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:505:36
[INFO] [stdout]     |
[INFO] [stdout] 505 |     assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope
[INFO] [stdout]    --> tests/json.rs:505:48
[INFO] [stdout]     |
[INFO] [stdout] 505 |     assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::KeyMustBeAString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:506:41
[INFO] [stdout]     |
[INFO] [stdout] 506 |     assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:506:53
[INFO] [stdout]     |
[INFO] [stdout] 506 |     assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:507:40
[INFO] [stdout]     |
[INFO] [stdout] 507 |     assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:507:52
[INFO] [stdout]     |
[INFO] [stdout] 507 |     assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:508:41
[INFO] [stdout]     |
[INFO] [stdout] 508 |     assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:508:53
[INFO] [stdout]     |
[INFO] [stdout] 508 |     assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:510:42
[INFO] [stdout]     |
[INFO] [stdout] 510 |     assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope
[INFO] [stdout]    --> tests/json.rs:510:54
[INFO] [stdout]     |
[INFO] [stdout] 510 |     assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::ExpectedColon;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:511:41
[INFO] [stdout]     |
[INFO] [stdout] 511 |     assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:511:53
[INFO] [stdout]     |
[INFO] [stdout] 511 |     assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:512:42
[INFO] [stdout]     |
[INFO] [stdout] 512 |     assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:512:54
[INFO] [stdout]     |
[INFO] [stdout] 512 |     assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:513:44
[INFO] [stdout]     |
[INFO] [stdout] 513 |     assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:513:56
[INFO] [stdout]     |
[INFO] [stdout] 513 |     assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:514:43
[INFO] [stdout]     |
[INFO] [stdout] 514 |     assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:514:55
[INFO] [stdout]     |
[INFO] [stdout] 514 |     assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:517:79
[INFO] [stdout]     |
[INFO] [stdout] 517 |     assert_eq!(from_str("{\"a\": 3}").unwrap(), mk_object(&[("a".to_string(), U64(3))]));
[INFO] [stdout]     |                                                                               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:521:39
[INFO] [stdout]     |
[INFO] [stdout] 521 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:521:64
[INFO] [stdout]     |
[INFO] [stdout] 521 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:525:39
[INFO] [stdout]     |
[INFO] [stdout] 525 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:525:64
[INFO] [stdout]     |
[INFO] [stdout] 525 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:529:39
[INFO] [stdout]     |
[INFO] [stdout] 529 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:529:68
[INFO] [stdout]     |
[INFO] [stdout] 529 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:529:79
[INFO] [stdout]     |
[INFO] [stdout] 529 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:544:31
[INFO] [stdout]     |
[INFO] [stdout] 544 |             ("a".to_string(), F64(1.0)),
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:547:17
[INFO] [stdout]     |
[INFO] [stdout] 547 |                 Array(vec![
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:548:21
[INFO] [stdout]     |
[INFO] [stdout] 548 |                     Boolean(true),
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:549:21
[INFO] [stdout]     |
[INFO] [stdout] 549 |                       String("foo\nbar".to_string()),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 549 |                     String { vec: val },
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:550:81
[INFO] [stdout]     |
[INFO] [stdout] 550 |                     mk_object(&[("c".to_string(), mk_object(&[("d".to_string(), Null)]))])
[INFO] [stdout]     |                                                                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:617:57
[INFO] [stdout]     |
[INFO] [stdout] 617 |     assert_eq!(from_str("{\n  \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8)));
[INFO] [stdout]     |                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:617:69
[INFO] [stdout]     |
[INFO] [stdout] 617 |     assert_eq!(from_str("{\n  \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8)));
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseError` in this scope
[INFO] [stdout]    --> tests/json.rs:635:23
[INFO] [stdout]     |
[INFO] [stdout] 635 |         Err(e) => Err(ParseError(e)),
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ParseError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ParseError` in this scope
[INFO] [stdout]    --> tests/json.rs:640:13
[INFO] [stdout]     |
[INFO] [stdout] 640 |         Err(ParseError(e)) => panic!("`{:?}` is not valid json: {:?}", to_parse, e),
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ParseError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:648:37
[INFO] [stdout]     |
[INFO] [stdout] 648 |     check_err::<DecodeStruct>("[]", ExpectedError("Object".to_string(), "[]".to_string()));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:651:9
[INFO] [stdout]     |
[INFO] [stdout] 651 |         ExpectedError("Number".to_string(), "true".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:655:9
[INFO] [stdout]     |
[INFO] [stdout] 655 |         ExpectedError("Boolean".to_string(), "[]".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:659:9
[INFO] [stdout]     |
[INFO] [stdout] 659 |         ExpectedError("String".to_string(), "{}".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:663:9
[INFO] [stdout]     |
[INFO] [stdout] 663 |         ExpectedError("Array".to_string(), "null".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:667:9
[INFO] [stdout]     |
[INFO] [stdout] 667 |         MissingFieldError("w".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:672:35
[INFO] [stdout]     |
[INFO] [stdout] 672 |     check_err::<DecodeEnum>("{}", MissingFieldError("variant".to_string()));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:675:9
[INFO] [stdout]     |
[INFO] [stdout] 675 |         ExpectedError("String".to_string(), "1".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:677:53
[INFO] [stdout]     |
[INFO] [stdout] 677 |     check_err::<DecodeEnum>("{\"variant\": \"A\"}", MissingFieldError("fields".to_string()));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:680:9
[INFO] [stdout]     |
[INFO] [stdout] 680 |         ExpectedError("Array".to_string(), "null".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnknownVariantError` in this scope
[INFO] [stdout]    --> tests/json.rs:684:9
[INFO] [stdout]     |
[INFO] [stdout] 684 |         UnknownVariantError("C".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::UnknownVariantError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:890:38
[INFO] [stdout]     |
[INFO] [stdout] 890 |       tree.insert("hello".to_string(), String("guten tag".to_string()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 890 |     tree.insert("hello".to_string(), String { vec: val });
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:891:40
[INFO] [stdout]     |
[INFO] [stdout] 891 |       tree.insert("goodbye".to_string(), String("sayonara".to_string()));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 891 |     tree.insert("goodbye".to_string(), String { vec: val });
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:893:16
[INFO] [stdout]     |
[INFO] [stdout] 893 |     let json = Array(
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:898:13
[INFO] [stdout]     |
[INFO] [stdout] 898 |               String("greetings".to_string()), // 1x
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 898 |             String { vec: val }, // 1x
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]    --> tests/json.rs:899:13
[INFO] [stdout]     |
[INFO] [stdout] 899 |             Object(tree),                    // 1x + 2x + 2x + 1x
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::Json::Object;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:973:28
[INFO] [stdout]     |
[INFO] [stdout] 973 |     assert_eq!(result, Err(ExpectedError("Number".to_string(), "a".to_string())));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]    --> tests/json.rs:999:14
[INFO] [stdout]     |
[INFO] [stdout] 999 |             (ObjectStart, vec![]),
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 3   | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1000:14
[INFO] [stdout]      |
[INFO] [stdout] 1000 |             (StringValue("bar".to_string()), vec![StackElement::Key("foo")]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::StringValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1001:14
[INFO] [stdout]      |
[INFO] [stdout] 1001 |             (ArrayStart, vec![StackElement::Key("array")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1002:14
[INFO] [stdout]      |
[INFO] [stdout] 1002 |             (U64Value(0), vec![StackElement::Key("array"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1003:14
[INFO] [stdout]      |
[INFO] [stdout] 1003 |             (U64Value(1), vec![StackElement::Key("array"), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1004:14
[INFO] [stdout]      |
[INFO] [stdout] 1004 |             (U64Value(2), vec![StackElement::Key("array"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1005:14
[INFO] [stdout]      |
[INFO] [stdout] 1005 |             (U64Value(3), vec![StackElement::Key("array"), StackElement::Index(3)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1006:14
[INFO] [stdout]      |
[INFO] [stdout] 1006 |             (U64Value(4), vec![StackElement::Key("array"), StackElement::Index(4)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1007:14
[INFO] [stdout]      |
[INFO] [stdout] 1007 |             (U64Value(5), vec![StackElement::Key("array"), StackElement::Index(5)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1008:14
[INFO] [stdout]      |
[INFO] [stdout] 1008 |             (ArrayEnd, vec![StackElement::Key("array")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1009:14
[INFO] [stdout]      |
[INFO] [stdout] 1009 |             (ArrayStart, vec![StackElement::Key("idents")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1010:14
[INFO] [stdout]      |
[INFO] [stdout] 1010 |             (NullValue, vec![StackElement::Key("idents"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1011:14
[INFO] [stdout]      |
[INFO] [stdout] 1011 |             (BooleanValue(true), vec![StackElement::Key("idents"), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1012:14
[INFO] [stdout]      |
[INFO] [stdout] 1012 |             (BooleanValue(false), vec![StackElement::Key("idents"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1013:14
[INFO] [stdout]      |
[INFO] [stdout] 1013 |             (ArrayEnd, vec![StackElement::Key("idents")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1014:14
[INFO] [stdout]      |
[INFO] [stdout] 1014 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1020:19
[INFO] [stdout]      |
[INFO] [stdout] 1020 |     let mut evt = NullValue;
[INFO] [stdout]      |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1031:34
[INFO] [stdout]      |
[INFO] [stdout] 1031 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1031:40
[INFO] [stdout]      |
[INFO] [stdout] 1031 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1031:52
[INFO] [stdout]      |
[INFO] [stdout] 1031 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:34
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:40
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:52
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::KeyMustBeAString;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:39
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:45
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:57
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:38
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                      ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:44
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:56
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:39
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:45
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:57
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1037:40
[INFO] [stdout]      |
[INFO] [stdout] 1037 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                        ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1037:46
[INFO] [stdout]      |
[INFO] [stdout] 1037 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope
[INFO] [stdout]     --> tests/json.rs:1037:58
[INFO] [stdout]      |
[INFO] [stdout] 1037 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::ExpectedColon;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:39
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:45
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:57
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:40
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                        ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:46
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:58
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:42
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                          ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:48
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:60
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:41
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                         ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:47
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:59
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:42
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                          ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:48
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingComma` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:60
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingComma;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1044:37
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]);
[INFO] [stdout]      |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1044:60
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]);
[INFO] [stdout]      |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1048:14
[INFO] [stdout]      |
[INFO] [stdout] 1048 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1049:14
[INFO] [stdout]      |
[INFO] [stdout] 1049 |             (U64Value(3), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1050:14
[INFO] [stdout]      |
[INFO] [stdout] 1050 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1056:14
[INFO] [stdout]      |
[INFO] [stdout] 1056 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1057:14
[INFO] [stdout]      |
[INFO] [stdout] 1057 |             (NullValue, vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1058:14
[INFO] [stdout]      |
[INFO] [stdout] 1058 |             (BooleanValue(true), vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1059:14
[INFO] [stdout]      |
[INFO] [stdout] 1059 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1065:14
[INFO] [stdout]      |
[INFO] [stdout] 1065 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1066:14
[INFO] [stdout]      |
[INFO] [stdout] 1066 |             (F64Value(1.0), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::F64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1067:14
[INFO] [stdout]      |
[INFO] [stdout] 1067 |             (ArrayStart, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1068:14
[INFO] [stdout]      |
[INFO] [stdout] 1068 |             (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1069:14
[INFO] [stdout]      |
[INFO] [stdout] 1069 |             (ArrayEnd, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1070:14
[INFO] [stdout]      |
[INFO] [stdout] 1070 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1083:14
[INFO] [stdout]      |
[INFO] [stdout] 1083 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1084:14
[INFO] [stdout]      |
[INFO] [stdout] 1084 |             (F64Value(1.0), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::F64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1085:14
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             (ArrayStart, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1086:14
[INFO] [stdout]      |
[INFO] [stdout] 1086 |             (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1088:17
[INFO] [stdout]      |
[INFO] [stdout] 1088 |                 StringValue("foo\nbar".to_string()),
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::StringValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1091:14
[INFO] [stdout]      |
[INFO] [stdout] 1091 |             (ObjectStart, vec![StackElement::Key("b"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1093:17
[INFO] [stdout]      |
[INFO] [stdout] 1093 |                 ObjectStart,
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1097:17
[INFO] [stdout]      |
[INFO] [stdout] 1097 |                 NullValue,
[INFO] [stdout]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1106:17
[INFO] [stdout]      |
[INFO] [stdout] 1106 |                 ObjectEnd,
[INFO] [stdout]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1109:14
[INFO] [stdout]      |
[INFO] [stdout] 1109 |             (ObjectEnd, vec![StackElement::Key("b"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1110:14
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             (ArrayEnd, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1111:14
[INFO] [stdout]      |
[INFO] [stdout] 1111 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1117:37
[INFO] [stdout]      |
[INFO] [stdout] 1117 |     assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1117:59
[INFO] [stdout]      |
[INFO] [stdout] 1117 |     assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1118:38
[INFO] [stdout]      |
[INFO] [stdout] 1118 |     assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1118:60
[INFO] [stdout]      |
[INFO] [stdout] 1118 |     assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1122:14
[INFO] [stdout]      |
[INFO] [stdout] 1122 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1123:14
[INFO] [stdout]      |
[INFO] [stdout] 1123 |             (BooleanValue(true), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1124:14
[INFO] [stdout]      |
[INFO] [stdout] 1124 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1130:14
[INFO] [stdout]      |
[INFO] [stdout] 1130 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1131:14
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             (BooleanValue(false), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1132:14
[INFO] [stdout]      |
[INFO] [stdout] 1132 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1137:15
[INFO] [stdout]      |
[INFO] [stdout] 1137 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1137:37
[INFO] [stdout]      |
[INFO] [stdout] 1137 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1137:80
[INFO] [stdout]      |
[INFO] [stdout] 1137 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |                                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1142:14
[INFO] [stdout]      |
[INFO] [stdout] 1142 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1143:14
[INFO] [stdout]      |
[INFO] [stdout] 1143 |             (U64Value(3), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1144:14
[INFO] [stdout]      |
[INFO] [stdout] 1144 |             (U64Value(1), vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1145:14
[INFO] [stdout]      |
[INFO] [stdout] 1145 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1151:14
[INFO] [stdout]      |
[INFO] [stdout] 1151 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1152:14
[INFO] [stdout]      |
[INFO] [stdout] 1152 |             (U64Value(3), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1153:14
[INFO] [stdout]      |
[INFO] [stdout] 1153 |             (U64Value(2), vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1154:14
[INFO] [stdout]      |
[INFO] [stdout] 1154 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1160:14
[INFO] [stdout]      |
[INFO] [stdout] 1160 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1161:14
[INFO] [stdout]      |
[INFO] [stdout] 1161 |             (U64Value(2), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1162:14
[INFO] [stdout]      |
[INFO] [stdout] 1162 |             (ArrayStart, vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1163:14
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             (U64Value(4), vec![StackElement::Index(1), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1164:14
[INFO] [stdout]      |
[INFO] [stdout] 1164 |             (U64Value(1), vec![StackElement::Index(1), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1165:14
[INFO] [stdout]      |
[INFO] [stdout] 1165 |             (ArrayEnd, vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1166:14
[INFO] [stdout]      |
[INFO] [stdout] 1166 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1170:33
[INFO] [stdout]      |
[INFO] [stdout] 1170 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1170:39
[INFO] [stdout]      |
[INFO] [stdout] 1170 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1170:51
[INFO] [stdout]      |
[INFO] [stdout] 1170 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1172:35
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1172:47
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1173:36
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope
[INFO] [stdout]     --> tests/json.rs:1173:48
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingArray;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1174:37
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]      |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1174:49
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]      |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1175:38
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1175:50
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1176:39
[INFO] [stdout]      |
[INFO] [stdout] 1176 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1176:51
[INFO] [stdout]      |
[INFO] [stdout] 1176 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1180:37
[INFO] [stdout]      |
[INFO] [stdout] 1180 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1180:43
[INFO] [stdout]      |
[INFO] [stdout] 1180 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1180:55
[INFO] [stdout]      |
[INFO] [stdout] 1180 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:37
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:43
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:55
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:38
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                      ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:44
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:56
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:34
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:40
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:52
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:35
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:41
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:53
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:35
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:41
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:53
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1189:57
[INFO] [stdout]      |
[INFO] [stdout] 1189 |     assert_eq!(Parser::new("null".chars()).next(), Some(NullValue));
[INFO] [stdout]      |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1190:57
[INFO] [stdout]      |
[INFO] [stdout] 1190 |     assert_eq!(Parser::new("true".chars()).next(), Some(BooleanValue(true)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1191:58
[INFO] [stdout]      |
[INFO] [stdout] 1191 |     assert_eq!(Parser::new("false".chars()).next(), Some(BooleanValue(false)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1193:33
[INFO] [stdout]      |
[INFO] [stdout] 1193 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1193:39
[INFO] [stdout]      |
[INFO] [stdout] 1193 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1193:51
[INFO] [stdout]      |
[INFO] [stdout] 1193 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:35
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:41
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:53
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:33
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:39
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:51
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:36
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                    ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:42
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:54
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:33
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:39
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:51
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:35
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 3    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 3    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:41
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:53
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]     --> tests/json.rs:1206:18
[INFO] [stdout]      |
[INFO] [stdout] 1206 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1206:29
[INFO] [stdout]      |
[INFO] [stdout] 1206 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1206:37
[INFO] [stdout]      |
[INFO] [stdout] 1206 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                                     ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:18
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Array;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:29
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:37
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                                     ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:45
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1210:42
[INFO] [stdout]      |
[INFO] [stdout] 1210 |         tree_map.insert("a".to_string(), U64(1));
[INFO] [stdout]      |                                          ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1211:42
[INFO] [stdout]      |
[INFO] [stdout] 1211 |         tree_map.insert("b".to_string(), U64(2));
[INFO] [stdout]      |                                          ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]     --> tests/json.rs:1212:9
[INFO] [stdout]      |
[INFO] [stdout] 1212 |         Object(tree_map)
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Object;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1217:35
[INFO] [stdout]      |
[INFO] [stdout] 1217 |     assert_eq!(3_isize.to_json(), I64(3));
[INFO] [stdout]      |                                   ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1218:32
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     assert_eq!(4_i8.to_json(), I64(4));
[INFO] [stdout]      |                                ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1219:33
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     assert_eq!(5_i16.to_json(), I64(5));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1220:33
[INFO] [stdout]      |
[INFO] [stdout] 1220 |     assert_eq!(6_i32.to_json(), I64(6));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1221:33
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     assert_eq!(7_i64.to_json(), I64(7));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1222:35
[INFO] [stdout]      |
[INFO] [stdout] 1222 |     assert_eq!(8_usize.to_json(), U64(8));
[INFO] [stdout]      |                                   ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1223:32
[INFO] [stdout]      |
[INFO] [stdout] 1223 |     assert_eq!(9_u8.to_json(), U64(9));
[INFO] [stdout]      |                                ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1224:34
[INFO] [stdout]      |
[INFO] [stdout] 1224 |     assert_eq!(10_u16.to_json(), U64(10));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1225:34
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     assert_eq!(11_u32.to_json(), U64(11));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1226:34
[INFO] [stdout]      |
[INFO] [stdout] 1226 |     assert_eq!(12_u64.to_json(), U64(12));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]     --> tests/json.rs:1227:36
[INFO] [stdout]      |
[INFO] [stdout] 1227 |     assert_eq!(13.0_f32.to_json(), F64(13.0_f64));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]     --> tests/json.rs:1228:36
[INFO] [stdout]      |
[INFO] [stdout] 1228 |     assert_eq!(14.0_f64.to_json(), F64(14.0_f64));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::F64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1229:30
[INFO] [stdout]      |
[INFO] [stdout] 1229 |     assert_eq!(().to_json(), Null);
[INFO] [stdout]      |                              ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1230:41
[INFO] [stdout]      |
[INFO] [stdout] 1230 |     assert_eq!(f32::INFINITY.to_json(), Null);
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1231:36
[INFO] [stdout]      |
[INFO] [stdout] 1231 |     assert_eq!(f64::NAN.to_json(), Null);
[INFO] [stdout]      |                                    ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]     --> tests/json.rs:1232:32
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     assert_eq!(true.to_json(), Boolean(true));
[INFO] [stdout]      |                                ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]     --> tests/json.rs:1233:33
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     assert_eq!(false.to_json(), Boolean(false));
[INFO] [stdout]      |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Boolean;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]     --> tests/json.rs:1234:33
[INFO] [stdout]      |
[INFO] [stdout] 1234 |       assert_eq!("abc".to_json(), String("abc".to_string()));
[INFO] [stdout]      |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 1234 |     assert_eq!("abc".to_json(), String { vec: val });
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]     --> tests/json.rs:1235:45
[INFO] [stdout]      |
[INFO] [stdout] 1235 |       assert_eq!("abc".to_string().to_json(), String("abc".to_string()));
[INFO] [stdout]      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     assert_eq!("abc".to_string().to_json(), String { vec: val });
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::String;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1250:36
[INFO] [stdout]      |
[INFO] [stdout] 1250 |     assert_eq!(Some(15).to_json(), I64(15));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1251:45
[INFO] [stdout]      |
[INFO] [stdout] 1251 |     assert_eq!(Some(15 as usize).to_json(), U64(15));
[INFO] [stdout]      |                                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1252:41
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     assert_eq!(None::<isize>.to_json(), Null);
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 3    | use rustc_ap_rustc_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 428 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "5021a918829f526d2cf47d86d6816277c6b062523a0705a64fd6150ecdaa298b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5021a918829f526d2cf47d86d6816277c6b062523a0705a64fd6150ecdaa298b", kill_on_drop: false }`
[INFO] [stdout] 5021a918829f526d2cf47d86d6816277c6b062523a0705a64fd6150ecdaa298b
